package com.sgb.kjwl.model.entity.user;

import android.text.TextUtils;

import com.google.gson.annotations.SerializedName;

public class AddCarAreaEntity3 {

    @SerializedName(value = "provinceName", alternate = {"name1"})
    private String provinceName;
    @SerializedName("id1")
    private String provinceNo;
    @SerializedName(value = "cityName", alternate = {"name2"})
    private String cityName;
    @SerializedName("id2")
    private String cityNo;
    @SerializedName(value = "districtName", alternate = {"name3"})
    private String districtName;
    @SerializedName("id3")
    private String districtNo;

    private String areaName;//省市区拼接

    public String getAreaName() {
        if (TextUtils.isEmpty(this.provinceName)) {
            return "";
        }
        this.areaName = this.provinceName + this.cityName + this.districtName;
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getProvinceNo() {
        return provinceNo;
    }

    public void setProvinceNo(String provinceNo) {
        this.provinceNo = provinceNo;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public String getCityNo() {
        return cityNo;
    }

    public void setCityNo(String cityNo) {
        this.cityNo = cityNo;
    }

    public String getDistrictName() {
        return districtName;
    }

    public void setDistrictName(String districtName) {
        this.districtName = districtName;
    }

    public String getDistrictNo() {
        return districtNo;
    }

    public void setDistrictNo(String districtNo) {
        this.districtNo = districtNo;
    }
}
